package com.swpu.service_xueya.mapper;

import com.swpu.service_xueya.entity.XueyaRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swpu.service_xueya.entity.vo.XueyaRecordVo;
import com.swpu.service_xueya.entity.vo.XueyaRecordVo2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chaichai
 * @since 2024-04-17
 */
@Mapper
public interface XueyaRecordMapper extends BaseMapper<XueyaRecord> {
        List<XueyaRecordVo> getAvgHighAndLowForWeek(String userId);

        List<XueyaRecordVo2> getXueyaDataList(String openid, Integer start, Integer offset);
}
